﻿# MONGO_URL = 'mongodb://ajmd:ajmd123@123.206.8.19:27017/bet365'
MONGO_URL = 'localhost'
MONGO_DB = 'bet365_full'

MONGO_TABLE_COLLECTIONS = 'collections'
MONGO_TABLE_BETS = 'bets'
MONGO_TABLE_SUCCESSES = 'successes'
MONGO_TABLE_BALANCE = 'balance'

URL = 'https://www.563488.com/?&cb=10326411784#/HO/'


isChromeDriver = True
SpiderInterval = 20
BetSportItem = '足球'
BetSport = '滚球盘'
AsiaHalfItem = '上半場亞洲盤'
isAsiaHalfItem = False
ForbiddenLeagues = ['80分钟']
ForbiddenMatches = ['19', '女']



RULE_FULL = { 'full_handicaps':{'3.0,3.5':2.1, '3.5':2.1, '3.5,4.0':2.0, }, 'min_full_ratio':1.5,'max_full_ratio':5,'min_already_full_goals':3, 'max_already_full_goals':3, 'min_latest_goal_time':50,'max_latest_goal_time':84, 'min_initial_time':0,'max_initial_time':0, 'goal_time_interval':5, 'half_time':45,'full_time':90.00, 'min_bet_time':75, 'max_first_goal_time':42}
RULE_HALF = {'half_handicaps':{'1.0,1.5':1.85, '1.5':2.5}, 'min_already_half_goals':1, 'max_already_half_goals':1, 'min_half_goal_time':0,'max_half_goal_time':45, 'initial_time':0,  'goal_time_interval':4}
